//
//  TableMenu.h
//  Koina
//
//  Created by welldone on 13-9-7.
//  Copyright (c) 2013年 net.koina. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LaunchItem.h"

@protocol TableViewAction <NSObject>
-(void)tableViewItemDidSelected:(LaunchItem*)item senderBtnTag:(int)tag;
@end


@interface TableMenu : UIButton<UITableViewDataSource,UITableViewDelegate>

-(void)setData:(NSArray*)data;

-(void)showInView:(UIView*)view  under:(UIView*)senderView fromBar:(Boolean)fromBar;

-(void)setSelectedIte:(NSString*)strSed;

@property (nonatomic,assign)id<TableViewAction>myTableViewDelegate;

@end
